package com.seu.nic.component.main;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@SpringBootApplication
@ComponentScan(value="com.seu.*")
@EnableTransactionManagement
//@EnableRedisHttpSession
@MapperScan("com.seu.nic.component.mapper")
@ImportResource("classpath:mybatis/mapper/*.xml")
public class OracleManagerApplication {

    public static void main(String[] args) {

        SpringApplication.run(OracleManagerApplication.class, args);
    }

}
